package com.shycloud.mido.opter.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

@ApiModel(value = "mido_new_member.org_settled_count")
@Data
@TableName(value = "mido_new_member.org_settled_count")
public class OrgSettledCount {

	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "")
	private Integer id;
	/** 结算类型： opt - 总部给代理商结算 org - 代理商给机构结算 */
	@TableField(value = "`type`")
	@ApiModelProperty(value = "结算类型：,opt - 总部给代理商结算  ,org - 代理商给机构结算")
	private String type;
	/** 机构ID */
	@TableField(value = "org_id")
	@ApiModelProperty(value = "机构ID")
	private Integer orgId;
	/** 代理商ID */
	@TableField(value = "opt_id")
	@ApiModelProperty(value = "代理商ID")
	private Integer optId;
	/** 结算订单数量 */
	@TableField(value = "order_settled_count")
	@ApiModelProperty(value = "结算订单数量")
	private Integer orderSettledCount;
	/** 结算时间 */
	@TableField(value = "create_time")
	@ApiModelProperty(value = "结算时间")
	private LocalDateTime createTime;
	/** 备注 */
	@TableField(value = "comment")
	@ApiModelProperty(value = "备注")
	private String comment;

	public static final String COL_ID = "id";

	public static final String COL_TYPE = "type";

	public static final String COL_ORG_ID = "org_id";

	public static final String COL_OPT_ID = "opt_id";

	public static final String COL_ORDER_SETTLED_COUNT = "order_settled_count";

	public static final String COL_CREATE_TIME = "create_time";

}
